<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/DomusDotNet.Sbm.Wcf.Responses" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/DomusDotNet.Sbm.Wcf.Responses" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:3912/SharedBookshelfService.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/DomusDotNet.Sbm.Wcf" />
  <xs:complexType name="LoginResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:AuthenticatedResponseBase">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="LoginResponse" nillable="true" type="tns:LoginResponse" />
  <xs:complexType name="AuthenticatedResponseBase">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ResponseBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="SessionGUID" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="AuthenticatedResponseBase" nillable="true" type="tns:AuthenticatedResponseBase" />
  <xs:complexType name="ResponseBase">
    <xs:sequence>
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/DomusDotNet.Sbm.Wcf" minOccurs="0" name="Errors" nillable="true" type="q1:ArrayOfError" />
      <xs:element minOccurs="0" name="Result" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ResponseBase" nillable="true" type="tns:ResponseBase" />
  <xs:complexType name="LogoutResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ResponseBase">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="LogoutResponse" nillable="true" type="tns:LogoutResponse" />
  <xs:complexType name="SearchBooksResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:AuthenticatedResponseBase">
        <xs:sequence>
          <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/DomusDotNet.Sbm.Wcf" minOccurs="0" name="Books" nillable="true" type="q2:ArrayOfBookBase" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SearchBooksResponse" nillable="true" type="tns:SearchBooksResponse" />
  <xs:complexType name="BookReservationResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:AuthenticatedResponseBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="BookId" type="xs:int" />
          <xs:element minOccurs="0" name="ReservationResult" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BookReservationResponse" nillable="true" type="tns:BookReservationResponse" />
</xs:schema>